#pragma config(Motor,  port1,           armLeft2,      tmotorNormal, openLoop, reversed)
#pragma config(Motor,  port2,           frontLeft,     tmotorNormal, openLoop)
#pragma config(Motor,  port3,           backLeft,      tmotorNormal, openLoop)
#pragma config(Motor,  port4,           frontRight,    tmotorNormal, openLoop, reversed)
#pragma config(Motor,  port5,           backRight,     tmotorNormal, openLoop, reversed)
#pragma config(Motor,  port6,           armLeft1,      tmotorNormal, openLoop)
#pragma config(Motor,  port7,           armRight1,     tmotorNormal, openLoop)
#pragma config(Motor,  port8,           collector1,    tmotorNormal, openLoop)
#pragma config(Motor,  port9,           collector2,    tmotorNormal, openLoop, reversed)
#pragma config(Motor,  port10,          armRight2,     tmotorNormal, openLoop, reversed)
//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//

#pragma platform(VEX)

//Competition Control and Duration Settings
#pragma competitionControl(Competition)
#pragma autonomousDuration(20)
#pragma userControlDuration(120)

#include "Vex_Competition_Includes.c"   //Main competition background code...do not modify!
#define FULL 127

void pre_auton() { }
task autonomous() { }
task usercontrol()
{
	while (true)
	{
	  motor[frontLeft] = motor[backLeft] = vexRT[Ch3];
	  motor[frontRight] = motor[backRight] = vexRT[Ch2];

	    motor[armLeft1] = motor[armLeft2] = motor[armRight1] = motor[armRight2] =
		(vexRT[Btn5D] - vexRT[Btn5U]) * FULL;
	    motor[collector1] = motor[collector2] = (vexRT[Btn6U] - vexRT[Btn6D]) * FULL;
	}
}
